package com.ziyun.erp.modules.order.service;

import com.baomidou.mybatisplus.service.IService;
import io.renren.common.utils.PageUtils;
import com.ziyun.erp.modules.order.entity.UserPaymentEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户支付记录表
 *
 * @author guizhao
 * @email ...
 * @date 2018-08-06 11:45:03
 */
public interface UserPaymentService extends IService<UserPaymentEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询紫云网订单最后一条支付成功信息
     * @param orderId
     * @return
     */
    UserPaymentEntity getPaySuccLastEntityByOrderId(String orderId);

    boolean updateByMap(Map<String, Object> updateMap, String paymentId);

    List<UserPaymentEntity> queryOrderPaymentInfo(String orderId);
}

